package cn.zsb.entity;

import java.io.Serializable;

public class Admin implements Serializable {
    private long id;
    private String sadmin;
    private String spass;
    private String openid;
    private String phone;
    private int role;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getSadmin() {
        return sadmin;
    }

    public void setSadmin(String sadmin) {
        this.sadmin = sadmin;
    }

    public String getSpass() {
        return spass;
    }

    public void setSpass(String spass) {
        this.spass = spass;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", sadmin='" + sadmin + '\'' +
                ", spass='" + spass + '\'' +
                ", openid='" + openid + '\'' +
                ", phone='" + phone + '\'' +
                ", role=" + role +
                '}';
    }
}
